<?php
  class measure extends CI_Controller{
      public function get($idFact=''){
        $this->load->library('tabletojson');
        
        echo json_encode($this->tabletojson->GetByField('sys_measure', Array('idFact' => $idFact)));
      }
  }
?>
